<template>
	<view class="page">
		<view class="flex benben-position-layout flex flex-wrap align-center set_flex_0"
			:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
			<view class='flex flex-wrap align-center justify-between flex-sub set_fd0_0'>
				<view class='flex flex-wrap align-center' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
					<text class='fu-iconfont2  set_fd0_0_c0_c0' @tap.stop="handleJumpDiy" data-type="back"
						data-url="1">&#xE794;</text>
				</view>
				<text class='set_fd0_0_c1'>设置</text>
				<view class='flex flex-wrap align-center set_fd0_0_c2'>
				</view>
			</view>

		</view>
		<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
		<!---flex布局flex布局开始-->
		<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout set_flex_1">
			<!-- <view class='flex flex-wrap align-center justify-between set_fd1_0' @tap.stop="handleJumpDiy"
				data-type="navigateTo" :data-url="`/pages/my/changePassword/changePassword`">
				<text class='set_fd1_0_c0'>修改密码</text>
				<text class='fu-iconfont2  set_fd1_0_c1'>&#xe7f2;</text>
			</view> -->
			<view class='flex flex-wrap align-center justify-between set_fd1_1' @tap.stop="handleJumpDiy"
				data-type="navigateTo" :data-url="`/pages/denglu/agreement/agreement?aid=1`">
				<text class='set_fd1_1_c0'>用户注册协议</text>
				<text class='fu-iconfont2  set_fd1_1_c1'>&#xe7f2;</text>
			</view>
			<view class='flex flex-wrap align-center justify-between set_fd1_2' @tap.stop="handleJumpDiy"
				data-type="navigateTo" :data-url="`/pages/denglu/agreement/agreement?aid=2`">
				<text class='set_fd1_2_c0'>隐私政策</text>
				<text class='fu-iconfont2  set_fd1_2_c1'>&#xe7f2;</text>
			</view>
			<!-- <view v-if="status == 0" class='flex flex-wrap align-center justify-between set_fd1_2' @tap.stop="handleJumpDiy"
				data-type="navigateTo" :data-url="`/pages/my/customer/customer`">
				<text class='set_fd1_2_c0'>联系客服</text>
				<text class='fu-iconfont2  set_fd1_2_c1'>&#xe7f2;</text>
			</view> -->
			<view v-if="userInfo.id != 130" class='flex flex-wrap align-center justify-between set_fd1_2' @tap.stop="handleJumpDiy"
				data-type="navigateTo" :data-url="`/pages/my/CancelAccount/CancelAccount`">
				<text class='set_fd1_2_c0'>注销账号</text>
				<text class='fu-iconfont2  set_fd1_2_c1'>&#xe7f2;</text>
			</view>
		</view>
		<!---flex布局flex布局结束-->
		<view class="flex flex-wrap align-start justify-center benben-position-layout flex set_flex_2">
			<button class='set_fd2_0' @tap.stop="popupShow1658998215973=true">退出登录</button>

		</view>
		<view :style="{height: '144rpx'}"></view>
		
		<benben-popup v-model="popupShow1658998215973" :mask="true" mode='center'>
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout set_flex_3">
				<text class='set_fd3_0'>提示</text>
				<text class='set_fd3_1'>确认退出当前账号？</text>
				<view class='flex flex-wrap align-center'>
					<button class='set_fd3_2_c0' @tap.stop="popupShow1658998215973=false">取消</button>
					<button class='set_fd3_2_c1' @tap.stop="getlogOut()">确认</button>
				</view>
			</view>
		</benben-popup>

	</view>
</template>
<script>
	export default {
		components: {},

		data() {
			return {
				"popupShow1658998215973": false,
				"sexType": [{
					"name": "男",
					"value": "1",
					"image": ""
				}, {
					"name": "女",
					"value": "2",
					"image": ""
				}],
				"sexLable": "",
				"sexValue": "1",
				"status": 0,
				"userInfo": global.userInfo,
			};
		},
		computed: {

		},
		watch: {},
		onLoad(options) {

		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {
			this.isHide();
		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			//退出登录
			getlogOut() {
				this.$store.commit('logout')
				this.$urouter.reLaunch(`/pages/tabBar/login/login`);
			},
			// 隐藏微信登录
			isHide() {
				this.$api.post(global.apiUrls.post6363619f7fd72, {
					
				}).then(res => {
					if (res.data.code == 1) {
						this.status = res.data.data.status;
					}
				})
			},
		}
	};
</script>
<style lang="scss" scoped>
	.set_fd3_0 {
		line-height: 50rpx;
		font-size: 36rpx;
		font-weight: 800;
		color: #333333;
		margin: 40rpx 0rpx 32rpx 0rpx;
		text-align: center;
	}

	.set_fd3_1 {
		line-height: 45rpx;
		font-size: 32rpx;
		font-weight: 500;
		color: #333333;
		margin: 0rpx 0rpx 37rpx 0rpx;
		text-align: center;
	}

	.set_fd3_2_c0 {
		border-top: 1px solid #eee;
		border-right: 1px solid #eee;
		background: #fff;
		background-size: 100% !important;
		border-radius: 0rpx 0rpx 0rpx 16rpx;
		font-size: 32rpx;
		color: rgba(153, 153, 153, 1);
		width: 269rpx;
		height: 94rpx;
		line-height: 94rpx;
		font-weight: 500;
	}

	.set_fd3_2_c1 {
		border-top: 1px solid #eee;
		border-left: 1px solid #eee;
		background: #fff;
		background-size: 100% !important;
		border-radius: 0rpx 0rpx 16rpx 0rpx;
		font-size: 32rpx;
		color: rgba(44, 143, 255, 1);
		width: 269rpx;
		height: 94rpx;
		line-height: 94rpx;
		font-weight: 500;
	}

	.set_flex_3 {
		background: #fff;
		background-size: 100% !important;
		width: 540rpx;
		background-size: 100% auto !important;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
	}

	.set_fd2_0 {
		border: 1px solid #BFBFBF;
		background: rgba(255, 255, 255, 0.3900);
		background-size: 100% !important;
		border-radius: 44rpx 44rpx 44rpx 44rpx;
		font-size: 32rpx;
		color: #333;
		width: 686rpx;
		height: 88rpx;
		line-height: 88rpx;
		font-weight: 500;
	}

	.set_flex_2 {
		width: 750rpx;
		height: 144rpx;
		overflow: hidden;
		z-index: 10;
		bottom: calc(0rpx + var(--window-bottom));
	}

	.set_fd1_0 {
		border-bottom: 1px solid #eee;
		height: 109rpx;
	}

	.set_fd1_0_c0 {
		line-height: 45rpx;
		font-size: 32rpx;
		font-weight: 500;
		color: #333333;
	}

	.set_fd1_0_c1 {
		font-size: 26rpx;
		color: rgba(191, 191, 191, 1);
	}

	.set_fd1_1 {
		border-bottom: 1px solid #eee;
		height: 109rpx;
	}

	.set_fd1_1_c0 {
		line-height: 45rpx;
		font-size: 32rpx;
		font-weight: 400;
		color: #333333;
	}

	.set_fd1_1_c1 {
		font-size: 26rpx;
		color: rgba(191, 191, 191, 1);
	}

	.set_fd1_2 {
		border-bottom: 1px solid #eee;
		height: 109rpx;
	}

	.set_fd1_2_c0 {
		line-height: 45rpx;
		font-size: 32rpx;
		font-weight: 400;
		color: #333333;
	}

	.set_fd1_2_c1 {
		font-size: 26rpx;
		color: rgba(191, 191, 191, 1);
	}

	.set_flex_1 {
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	.set_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
		height: 88rpx;
	}

	.set_fd0_0_c0_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333;
		line-height: 36rpx;
	}

	.set_fd0_0_c1 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333333;
		line-height: 50rpx;
	}

	.set_fd0_0_c2 {
		width: 36rpx;
		height: 36rpx;
	}

	.set_flex_0 {
		border-bottom: 1px solid #eee;
		background: #fff;
		background-size: 100% !important;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.page {
		min-height: calc(100vh - var(--window-bottom));
		background: #fff;
		background-size: 100% auto !important;
	}
</style>
